package oceanwiki.req;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @FileName CategorySaveReq
 * @Description
 * @Author Me
 * @date 2024-09-11
 **/

@Data
public class CategorySaveReq{
    private Long id;
    private Long parent = 0l;
    @NotNull(message = "分类名不能为空")
    private String name;
    private Long sort;
}
